package com.tian.mapper;

import com.tian.entity.UserDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserDetail record);

    UserDetail selectByPrimaryKey(Long id);

    UserDetail selectByMainId(Long id);

    List<UserDetail> selectAll();

    int updateByPrimaryKey(UserDetail record);
}